package com.qidianit.mes.pojo.qc;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @Description:
 * @Author: wang fei long
 * @Date: 2025/9/22 0022 - 14:22
 */
@Data
@TableName("common_defects")
public class CommonDefect {
    private Long id;
    private String defectDescription;
    private String detectionItemType;
    private String defectLevel;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime updateTime;
    private Long creatorId;
    private Long updaterId;
    private Integer deleteFlag;
}
